xend: pass-through: sxp.merge() cant deal with values being a list
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 16 Jun 2009 10:37:41 +0000 (11:37 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 16 Jun 2009 10:37:41 +0000 (11:37 +0100)
commit52ecedb262c21931deea0e7d54a38a2a8061dc54
tree838abf88c977b2e8c297d35dfc6503fcb26e9492
parentfb8a264cd04b8b608f27096c8ee8d5f33d72defd
xend: pass-through: sxp.merge() cant deal with values being a list

sxp.merge() can't deal with values being a list so instead
of storing pci options as:

[ 'opts', [ 'key1' 'value1'], [ 'key2', 'value2'], ...]

store them as:

[ 'opts', [ 'key1' 'value1'], ['opts', [ 'key2', 'value2']], ...

Signed-off-by: Simon Horman <horms@verge.net.au>
tools/python/xen/util/pci.py
tools/python/xen/xend/XendConfig.py
tools/python/xen/xend/server/pciif.py
tools/python/xen/xm/create.py
tools/python/xen/xm/main.py
tools/python/xen/xm/xenapi_create.py